<template>
    <el-table
            :data="order.snapshotList"
            border
            style="width: 100%">
        <el-table-column
                prop="snapshotName"
                label="商品名"
                width="120">
        </el-table-column>
        <el-table-column
                prop="snapshotType"
                label="商品类型"
                width="100">
        </el-table-column>
        <el-table-column
                prop="snapshotSpecification"
                label="规格"
                width="100">
        </el-table-column>
        <el-table-column
                prop="snapshotPrice"
                label="价格"
                width="180">
        </el-table-column>
        <el-table-column
                prop="snapshotNum"
                label="商品数量"
                width="100">
        </el-table-column>
        <el-table-column
                prop="snapshotStatus"
                label="状态">
                 <template slot-scope="scope">
                {{scope.row.snapshotStatus===1?"交易完成":"退货"}}
            </template>
        </el-table-column>
    </el-table>
</template>

<script>
    import {mapState} from "vuex";
    export default {
        computed: {
            ...mapState("order", ["order"])
        }
    }
</script>

<style>

</style>